package com.whenjun.dto.resp;

import java.time.LocalDateTime;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.Data;

/**
 * @Auther: whenjun
 * @Date: 2023/6/6 0006 11:31
 * @Description:
 */
@Data
public class MyDate {

    private String text;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date date;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime localDateTime;


}
